{% load static %}
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>登录</title>
    <!-- Base Styling  -->
    <link rel="stylesheet" href="{% static 'css/fonts.css' %}">
    <link rel="stylesheet" href="{% static 'css/style.css' %}">
</head>

<body>
<div id="main-wrapper" class="show">

    <div class="container-fluid">
        <div class="row">
            <div class="col-xl-7 p-0 b-center bg-size">
                <img class="img-fluid" src="{% static 'picture/bg-register.jpg' %}" alt="tabib app">
            </div>
            <div class="col-xl-5 p-0">
                <div class="login-tabib">
                    <div>
                        <div class="text-center">
                            <a class="logo">
                                <img class="img-fluid" src="{% static 'picture/logo.png' %}" alt="loogin page">
                            </a>
                        </div>
                        <div class="login-main">
                            <form class="theme-form" action="{% url 'users:login' %}" method="post">
                                <h4>疫情防控病区智能人脸识别系统</h4>
                                <p>Enter your username & password to login </p>
                                {% csrf_token %}
                                <div class="form-group m-b-10">
                                    <label class="col-form-label">用户名</label>
                                    <input class="form-control" name="username" type="text" placeholder="请输入用户名">
                                </div>
                                <div class="form-group m-b-10">
                                    <label class="col-form-label">密码</label>
                                    <div class="form-input position-relative">
                                        <input name="password" class="form-control" type="password"
                                               placeholder="请输入密码">
                                        <div class="show-hide"><span class="show"></span></div>
                                    </div>
                                </div>
                                {{ login_result }}
                                <button class="btn btn-primary w-100">登录</button>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

</div>

<!-- JQuery v3.5.1 -->
<script src="{% static 'js/jquery.min.js' %}"></script>

<!-- popper js -->
<script src="{% static 'js/popper.min.js' %}"></script>

<!-- Bootstrap -->
<script src="{% static 'js/bootstrap.js' %}"></script>

<!-- Moment -->
<script src="{% static 'js/moment.min.js' %}"></script>

<!-- Date Range Picker -->
<script src="{% static 'js/daterangepicker.min.js' %}"></script>

<!-- Main Custom JQuery -->
<script src="{% static 'js/toggleFullScreen.js' %}"></script>
<script src="{% static 'js/main.js' %}"></script>

</body>

</html>